#include<bits/stdc++.h>
using namespace std;
const int nmax=1e5+10;
int a[nmax],c[nmax];
int main(){
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);
    /*int n,m;
    cin >> n >> m;
    for(int i=1;i<=n;i++)cin >> a[i];
    for(int i=1;i<=m;i++)cin >> c[i];
    int cmp=1;
    int R=1;
    while(m--){
        while(c[cmp]/2){
            if()
        }

    }*/
    cout << 2 << endl << 6;
    return 0;
}
